package demo.gl;

import android.app.Activity;
import android.content.Intent;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class GlActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        final Thread time=new Thread();
        final Button cmdPlay=(Button)findViewById(R.id.btnPlay);
        cmdPlay.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
				//System.out.println("Click here");
				Intent intentPlay=new Intent(GlActivity.this, GameActivity.class);
				startActivity(intentPlay);
				finish();
				
			}
		});
    }
}